#ifndef _SERVERENTITY_
#define _SERVERENTITY_

/** 
* An entity that exists server side.
* Used for client side prediction. Stores server side information that
* can be used to sync.
*/
class ServerEntity{
public:
    
    /** 
    * Expected difference in x position between client and server.
    */
    float deltaX;
    
    /** 
    * Expected difference in y position between client and server.
    */
    float deltaY;
    
    /** 
    * Original difference in x position between client and server since last update.
    */
    float originalDeltaX;
    
    /** 
    * Original difference in y position between client and server since last update.
    */
    float originalDeltaY;
    
    ServerEntity();
    
    void setDeltas(float dx, float dy);
};

#endif